const host = "https://113.55.46.222:12345/"
export class ServerRouteApi {
  prefixApi = {
    chat: host + 'chat/',
    message: host + 'message/',
    user: host + 'user/',
  }

  chat = {
    base: this.prefixApi.chat,
    sendMsg: 'send-message',
    receiveMsg: 'receive-message/'
  }

  user = {
    base: this.prefixApi.user,
    register: "register/",
    login: "auth-token/",
    info: "self/info/"
  };

  message = {
    base: this.prefixApi.message,
    queryMessage: 'message',
    queryComment: 'comment',
    sendComment: 'send-comment',
    deleteComment: 'delete-comment',
  }

}
